﻿using System;

namespace PBLOG
{
    public sealed class Log
    {
        private string _message = String.Empty;
        private DateTime _dateTime = DateTime.Now;
        private User _user;
        private LogType _logType = LogType.None;

        public string Message
        {
            get { return this._message; }
            set { this._message = value; }
        }

        public DateTime DateTime
        {
            get { return this._dateTime; }
            internal set { this._dateTime = value; }
        }

        public User User
        {
            get { return this._user; }
            set
            {
                this._user = value;
            }
        }

        public LogType LogType
        {
            get { return this._logType; }
            set { this._logType = value; }
        }
    }
}